home *** CD-ROM | disk | FTP | other *** search
/ The 640 MEG Shareware Studio 2 / The 640 Meg Shareware Studio CD-ROM Volume II (Data Express)(1993).ISO / batch / dddbatch.zip / READ-ME.TXT < prev    next >
Text File  |  1989-09-30  |  9KB  |  227 lines

  1.  
  2.  
  3.                  The Down and Dirty Dozen Batch Utilities
  4.                  ----------------------------------------
  5.  
  6.  
  7.                                Version 1.0
  8.  
  9.                             Copyright (c) 1989                     
  10.  
  11.                                     by
  12.  
  13.                            G&G Computer Services
  14.  
  15.                               39 Cathy Circle
  16.  
  17.                            Portsmouth, RI 02871
  18.  
  19.  
  20.  
  21.  
  22.  
  23.  
  24. Disclaimer:
  25. -----------
  26.  
  27.         The Down and Dirty Dozen Batch Utilities (c) program is provided 
  28.     'as is' without warranty of any kind, either expressed or implied. The
  29.     entire risk as to the quality and performance of the program is with
  30.     the user and should the program prove defective, the user and not
  31.     the authors will assume the entire cost of all necessary remedies.
  32.     None of the authors warrant that the functions contained in the
  33.     program will meet any users requirements or that the operation of
  34.     the program will be error-free or uninterrupted. G&G, its employees,
  35.     and associates claim no responsibility for any damages incurred
  36.     during use of this product.
  37.  
  38.  
  39.  
  40.  
  41. Introduction:
  42. --------------
  43.  
  44.     In trying to create custom batch files from time to time we find
  45. ourselves running into the proverbial brick wall or trying to use a menu
  46. program that didn't do all we wanted it to.
  47.  
  48.     The Down and Dirty Dozen are a dozen batch routines that were written in
  49. 'C' and assembler which will aid you in creating a very useful and 
  50. professional looking batch file.
  51.  
  52. System Requirements:
  53. --------------------
  54.  
  55.         The Down and Dirty Dozen will run on all 100% compatible 
  56.     IBM machines. System requirements: 128 KB of memory.
  57.     An extended DOS environment of 512 is suggested but not required
  58.     (due to the use of SET commands in the demo batch file included
  59.     in this package, running it may require extending your
  60.     environment space before use) (refer to your DOS manual).
  61.  
  62. Files
  63. -----
  64.  
  65.     The following files listed below should have been included in the
  66.     ZIP file:
  67.  
  68.     0-9.COM         - will wait for the number key 0 to 9 to be pressed
  69.                       then will return it as an error level. (refer to
  70.                       your DOS manual under 'IF ERRORLEVEL (X) THEN'
  71.                       for more information)
  72.                       
  73.     BEEP.COM        - will make the speaker beep when called.
  74.  
  75.     CLW.COM         - when called this routine will clear a part of the
  76.                       screen you specifying row, column, width, length,
  77.                       forground and background color numbers (see chart below
  78.                       for color numbers).
  79.                       Format:
  80.                            CLW <start row> <start column> <end row> <end column>
  81.                                <forground color#> <background color#>
  82.                       Ex:
  83.                          CLW 10 27 14 46 0 7
  84.                       10 = starting row
  85.                       27 = starting column
  86.                       14 = ending row 
  87.                       46 = ending column
  88.                       0 & 7 = sets up black text on a white background
  89.                               (reverse video).
  90.  
  91.                       VALID Fore/Background colors:
  92.  
  93.                           0 = black
  94.                           1 = blue
  95.                           2 = green
  96.                           3 = cyan
  97.                           4 = red
  98.                           5 = purple
  99.                           6 = yellow
  100.                           7 = white
  101.                           8 - 15 = enhanced versions of numbers 0 - 7
  102.                                    (does not apply to background colors)
  103.  
  104.     DAY.COM         - returns the day number as an error code.
  105.                       Ex: 
  106.                           If today is Sunday the program will return a
  107.                           error code of 1 and if today is Friday then 
  108.                           it will return an error code of 6.(refer to
  109.                           your DOS manual under 'IF ERRORLEVEL (X) 
  110.                           THEN' for more information)
  111.  
  112.  
  113.     DEMO.BAT        - is a demonstration of all the batch utilities in
  114.                       action (due to the use of SET commands in the demo
  115.                       batch file included in this package, running it
  116.                       may require extending your environment space before
  117.                       use) (refer to your DOS manual).
  118.  
  119.     DR_BOX.EXE      - when called this routine will draw a box with single
  120.                       or double lined border at the position you specify.
  121.                       Format:
  122.                           DR_BOX <start row> <start column> <end row> 
  123.                                  <end column> <type (1 or 2)>
  124.                       Ex:
  125.                           dr_box 10 27 15 50 1
  126.                       10 = starting row
  127.                       27 = starting column
  128.                       15 = ending row
  129.                       50 = ending column
  130.                        1 = for single line box (2 for double lined box)
  131.  
  132.     FCLS1.COM       - will clear the screen by splitting the display on
  133.                       the screen from the middle out.
  134.  
  135.     FCLS2.COM       - will clear the screen by squishing the display on
  136.                       the screen from the top/bottom into the center.
  137.  
  138.     IS_TODAY.EXE    - will check the date and compare it to a date
  139.                       specified by the user and return an error level of 1 if
  140.                       thay match. (refer to your DOS manual under
  141.                       'IF ERRORLEVEL (X) THEN' for more information).
  142.                       Format:
  143.                           IS_TODAY <date (of the type 'MM/DD/YYYY')>
  144.                       Ex: 
  145.                           is_today 12/25/1991
  146.                       if true it will return an error level of 1.
  147.  
  148.     MODE_ON.COM     - will check the system display mode and return
  149.                       as an error level (refer to your DOS manual under
  150.                       'IF ERRORLEVEL (X) THEN' for more information).
  151.                       Possable error levels are:
  152.                          16 = 640x350 64 color graphics
  153.                          15 = 640x350 b/w graphics
  154.                          14 = 640x200 16 color graphics
  155.                          13 = 320x200 16 color graphics
  156.                          10 = 640x200 4 color graphics (PCjr.)
  157.                           9  = 320x200 16 color graphics (PCjr.)
  158.                           8  = 160x200 16 color graphics (PCjr.)
  159.                           7  = 80x25 b/w text
  160.                           6  = 640x200 2 color graphics
  161.                           5  = 320x200 4 gray graphics
  162.                           4  = 320x200 4 color graphics
  163.                           3  = 80x25 16 color text
  164.                           2  = 80x25 16 gray text
  165.                           1  = 40x25 16 color text
  166.                           0  = 40x25 no color
  167.  
  168.     PRT_ON.COM      - will check printer port specified by the user.
  169.                       It will return an error level of 1 (refer to your 
  170.                       DOS manual under 'IF ERRORLEVEL (X) THEN' for more 
  171.                       information) if the printer is off. (The printer has
  172.                       to be connected to the computer in order for
  173.                       this to work, also some models of printers will return
  174.                       an error level of 1 when the printer is ON (check with
  175.                       your printer manual)).
  176.  
  177.     PRTAT.EXE       - places the cursor at a user defined place on the
  178.                       screen and will print specified text (if any).
  179.                       Format:
  180.                             PRTAT <row> <column> [optional text]
  181.                       Ex:
  182.                           PRTAT 10 20 Yo dudes and dudettes
  183.                       10 = row
  184.                       20 = column
  185.                       Yo dudes and dudettes = string to print
  186.  
  187.     ORDDRM          - this is the registration form for this product.
  188.  
  189.     READ-ME.TXT     - this file.
  190.  
  191.     YES_NO.COM      - will wait for the 'Y' or 'N' key to be pressed.
  192.                       If the 'Y' key was pressed it will return an
  193.                       error level of 1. If the 'N' key was pressed it
  194.                       will return an error level of 2. (refer to your 
  195.                       DOS manual under 'IF ERRORLEVEL (X) THEN' for more 
  196.                       information).
  197.  
  198.  
  199. Miscellaneous:
  200. --------------
  201.  
  202.     This product is shareware and may be distributed freely. If you find
  203. it of use after a reasonable test period, please send $10.00 (U.S. FUNDS)
  204. per copy or $30.00 for a site license to:
  205.  
  206. G&G Computer Services
  207. 39 Cathy Circle
  208. Portsmouth, RI   02871
  209.  
  210.     When you register your copy, you will be placed on the update list.
  211. Once on the list, you will be notified of updates to this product and
  212. the release of new products from our company.
  213.  
  214.     For any questions, problems, or suggestions call by modem :
  215.  
  216.     - Ups and Downs BBS    Portsmouth, RI       1-(401)-683-5961
  217.  
  218.     or
  219.  
  220.     - Swat BBS             Swansea, Mass        1-(508)-675-8503
  221.  
  222.     and leave feedback to the sysop.
  223.  
  224.     Both of the above Bulletin Boards support 300/1200/2400 Baud and
  225. and operate 24 hours - 7 days a week.
  226.  
  227.